package cn.edu.scau.cmi.zhuangyi.composite.consistent;

import java.util.Set;

public class Personal extends ConsistentComponent{
	
	private String name;
	

	@Override
	public String doSomething() {
		return "";
	}

	@Override
	public ConsistentComponent addChild(ConsistentComponent child) {
		return child;
	}

	@Override
	public ConsistentComponent deleteChild(ConsistentComponent child) {
		return this;
	}

	@Override
	public Set<ConsistentComponent> getChildren() {
		return null;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}


}
